package stu.xjtu.subject.domain.handler.subject;

import stu.xjtu.subject.common.enums.SubjectInfoTypeEnum;
import stu.xjtu.subject.domain.entity.SubjectInfoBO;
import stu.xjtu.subject.domain.entity.SubjectOptionBO;

public interface  SubjectTypeHandler {
    // 枚举身份的识别
    SubjectInfoTypeEnum getHandlerType();
    // 真正的插入
    void add(SubjectInfoBO subjectInfoBO);

    SubjectOptionBO query(int id);
}
